package com.xizi.lotterySystem.controller.result;

import com.xizi.lotterySystem.service.enumerate.ActivityPrizeTiersEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class GetDetailActivityResult {
    private Long activityId;

    private String activityName;

    private String description;

    private boolean valid;

    // 奖品信息（列表）
    private List<Prize> prizes;

    // 人员信息（列表）
    private List<User> users;


    @Data
    public static class Prize {
        private Long prizeId;

        private String name;

        private String imageUrl;

        private BigDecimal price;

        private String description;

        private String prizeTierName;

        private Long prizeAmount;


        private boolean valid;

    }

    @Data
    public static class User {

        private Long userId;

        private String userName;

        private boolean valid;
    }
}
